<!--begin right_content-->
<div id="right_content">
<?php if(isset($topic)){?>
	<h1>
		<p>
			<a href="<?=site_url('home/category/'.$topic['cid'])?>"><?=$topic['catname']?></a>
		</p>
	</h1>            
	<div id="project">
		<?=img('uploads/'.$topic['image_url'])?>
		<h2><a href="#"><?=$topic['title']?></a></h2>
		<p><?=$this->lang->line('UPDATE_AT') . $topic['last_update'];?></p>
		<div id="brief_project"><p><?=$topic['summary']?></p></div>
		<div id="content_project"><?=$topic['content']?></div>
	</div>
<?php }else if(isset($topics)){?>
	<h1>
		<p>
			<a href="<?=site_url('home/category/'.$category['id'])?>"><?=$category['name']?></a>
		</p>
	</h1>            
	<div id="orther_news">
		<?php foreach($topics as $topic){?>
			<div class="one_news" style="width:100%">
				<a href="#"><?=img('uploads/'.$topic['image_url'])?></a>
				<h2><a href="<?=site_url('home/topic/'.$topic['id'])?>"><?=$topic['title']?></a></h2>
				<p><?=$this->lang->line('UPDATE_AT') . $topic['last_update'];?></p>
				<div><p><?=$topic['summary']?></p></div>
			</div>
		<?php }?>
	</div>
<?php }?>
</div>
<!--end right_content-->